package com.dongchedi.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.dongchedi.entity.CustomerAddr;
/**
 * @author leibidong
 * @description 用户地址信息的service接口
 * @date 2021/6/25
 */
public interface CustomerAddressService {
    public JSONArray queryAllAddress(Integer customerId,Integer pageNum,Integer pageSize);
    public Integer addCustomerAddress(CustomerAddr customerAddr);
    public JSONObject updateCustomerAddress(CustomerAddr customerAddr);
    public JSONObject deleteCustomerAddress(Integer customerAddrId,Integer customerId);
    public JSONObject updateCustomerDefaultAddress(Integer customerId,Integer customerAddressId);
}
